//
//  ChangeColorViewController.h
//  DelegateDemo
//
//  Created by UniHan_iMac on 17/3/27.
//  Copyright © 2017年 UniHan_iMac. All rights reserved.
//

#import <UIKit/UIKit.h>

// 声明代理
@protocol ChangeColorDelegate;

@interface ChangeColorViewController : UIViewController

// 声明代理属性
@property(nonatomic,assign)id<ChangeColorDelegate> delegate;

@end

// 声明代理的协议方法
@protocol ChangeColorDelegate <NSObject>

@optional
-(void)ChangeColor:(int)tag ChangeText:(NSString *)string;

@required
-(void)ChangeButtonColor;

@end
